package cate.common.table.dynins;


import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("阶级映射")
public class DynHeroGradeRow extends ERow {

    @NoteField("开始等级")
    public int start;

    @NoteField("结束等级")
    public int end;

    @NoteField("偏移值")
    public int offset;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID", -1);
        this.start = xrw.getInteger("开始等级", 0);
        this.end = xrw.getInteger("结束等级", 0);
        this.offset = xrw.getInteger("偏移值", 0);
    }

    @Override
    public void decode() {

    }
}
